package tpo.service.impl;

import com.github.pagehelper.PageInfo;
import dto.Dto;
import org.springframework.stereotype.Service;
import pojo.BuyOrder;
import pojo.Journal;
import pojo.Pay_order;
import pojo.Receipt_order;
import pojo.finance.Day;
import pojo.finance.Fukuandan;
import pojo.finance.Kehuduizhang;
import pojo.finance.Zijinduizhang;
import tpo.client.Receipt_oreder_Client;
import tpo.service.Receipt_oreder_Service_consuner;

import javax.annotation.Resource;
import java.math.BigDecimal;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Service
public class Receipt_oreder_ServiceImpl_consuner implements Receipt_oreder_Service_consuner {

    @Resource
    private Receipt_oreder_Client receipt_oreder_client;

    @Override
    public Dto<PageInfo<Receipt_order>> allreceipt_order(Map<String, Object> map) {

        return receipt_oreder_client.allreceipt_order(map);
    }

    @Override
    public Dto<List<Receipt_order>> allReceipt_order() {
        return receipt_oreder_client.allReceipt_order();
    }

    @Override
    public Dto<Receipt_order> selectReceipt_order(String code) {
        return receipt_oreder_client.selectReceipt_order(code);
    }

    @Override
    public Dto<BigDecimal> selectallReceipt_ordermoney(String code) {
        return receipt_oreder_client.selectallReceipt_ordermoney(code);
    }

    @Override
    public Dto addReceipt_order(Receipt_order receipt_order) {
        return receipt_oreder_client.addReceipt_order(receipt_order);
    }

    @Override
    public Dto zuofei( Map<String,Object> map) {
        return receipt_oreder_client.zuofei(map);
    }

    @Override
    public Dto shenhe(Map<String,Object> map) {
        return receipt_oreder_client.shenhe(map);
    }

    @Override
    public Dto<PageInfo<Journal>> alljournal(Map<String, Object> map) {
        return receipt_oreder_client.alljournal(map);
    }

    @Override
    public Dto<PageInfo<Fukuandan>> allPay_order(Map<String, Object> map) {
        return receipt_oreder_client.allPay_order(map);
    }

    @Override
    public Dto addPay_order(Pay_order pay_order) {
        return receipt_oreder_client.addPay_order(pay_order);
    }

    @Override
    public Dto fukuanzuofei( Map<String,Object> map) {
        return receipt_oreder_client.fukuanzuofei(map);
    }

    @Override
    public Dto selectpay_order(String code) {
        return receipt_oreder_client.selectpay_order(code);
    }

    @Override
    public Dto fukuanshenhe(Map<String, Object> map) {
        return receipt_oreder_client.fukuanshenhe(map);
    }

    @Override
    public Dto<PageInfo<Kehuduizhang>> selectusermoney(Map<String, Object> map) {
        return receipt_oreder_client.selectusermoney(map);
    }

    @Override
    public Dto<Kehuduizhang> selectusersum() {
        return receipt_oreder_client.selectusersum();
    }

    @Override
    public Dto<Kehuduizhang> selectoneusersum(String id) {
        return receipt_oreder_client.selectoneusersum(id);
    }

    @Override
    public Dto<PageInfo<BuyOrder>> selectoneuseralldan(Map<String, Object> map) {
        return receipt_oreder_client.selectoneuseralldan(map);
    }

    @Override
    public Dto<PageInfo<Zijinduizhang>> selectdangtianzhang( Map<String,Object> map) {
        return receipt_oreder_client.selectdangtianzhang(map);
    }

    @Override
    public Dto<PageInfo<Journal>> selectzijinmingxi(Map<String, Object> map) {
        return receipt_oreder_client.selectzijinmingxi(map);
    }

    @Override
    public Dto<List<Day>> zijinzhexiantu() {
        return receipt_oreder_client.zijinzhexiantu();
    }

    @Override
    public Dto<List<Receipt_order>> codeselectallreceipt(String code) {
        return receipt_oreder_client.codeselectallreceipt(code);
    }

    @Override
    public Dto<List<Pay_order>> codeselectallfukuandan(String code) {
        return receipt_oreder_client.codeselectallfukuandan(code);
    }

    @Override
    public Dto selectallokfukuandan(String code) {
        return receipt_oreder_client.selectallokfukuandan(code);
    }

    @Override
    public Dto upPay_order(Map<String, Object> map) {
        return receipt_oreder_client.upPay_order(map);
    }


}
